-
Home
-
Google for WooCommerce
-
2.6.6
-
Code
-
Classes
- CouponSyncer
| Total Complexity |
35 |
| Dependencies |
14 |
| Dependents |
5 |
| Total lines |
457 |
| Lines of code |
306 |
| Logical lines of code |
95 |
| Comment lines |
58 |
| Methods |
10 |
| Properties |
6 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update() |
A |
36 |
6 |
107 |
| delete() |
A |
39 |
7 |
83 |
| handle_update_errors() |
S |
51 |
5 |
30 |
| handle_delete_errors() |
S |
51 |
5 |
30 |
| is_coupon_supported() |
S |
62 |
5 |
13 |
| validate_merchant_center_setup() |
S |
61 |
2 |
15 |
| validate_coupon() |
S |
63 |
2 |
11 |
| __construct() |
S |
67 |
1 |
8 |
| get_supported_coupon_types() |
S |
71 |
1 |
6 |
| get_hidden_coupon_types() |
S |
78 |
1 |
3 |